package com.tuanzi.loan.business.repository.settlement;

import com.tuanzi.loan.business.entity.settlement.JfSltBackData;
import com.tuanzi.loan.business.repository.settlement.custom.JfBackDataRepositoryCustom;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface JfBackDataRepository extends JpaRepository<JfSltBackData, Long> , JfBackDataRepositoryCustom {
    List<JfSltBackData> findAllByProcInstIdOrderByBeginDate(String procInstId);
    List<JfSltBackData> findAllByProcInstIdAndTypeOrderByBeginDate(String procInstId,Integer type);

    @Override
    void delete(Long aLong);
}
